{extend name="public:_base" /}
{block name="js"}
<!-- 配置文件 -->
<script type="text/javascript" src="__STATIC__/admin/hui/lib/ueditor/1.4.3/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="__STATIC__/admin/hui/lib/ueditor/1.4.3/ueditor.all.js"></script>
<script type="text/javascript">
    var ue = UE.getEditor('editor');
</script>
{/block}
{block name="main"}
<article class="page-container">
    <form class="form form-horizontal" action="{:url('System/save')}" id="form" method="post">

        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">首页标题：</label>
            <div class="formControls col-xs-9 col-sm-9">
                <input type="text" class="input-text" value="{$data.title ?? ''}" placeholder="" name="title">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-6 col-sm-4">关键词设置</label>
        </div>

        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">网站LOGO：</label>
            <div class="formControls col-xs-9 col-sm-9">
                <input type="text" class="input-text" value="{$data.title ?? ''}" placeholder="" name="title">
            </div>
        </div>

        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">地址栏图标：</label>
            <div class="formControls col-xs-9 col-sm-9">
                <input type="text" class="input-text" value="{$data.title ?? ''}" placeholder="" name="title">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">网站网址：</label>
            <div class="formControls col-xs-9 col-sm-9">
                <input type="text" class="input-text" value="{$data.title ?? ''}" placeholder="" name="title">
            </div>
        </div>

        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">网站关键词：</label>
            <div class="formControls col-xs-9 col-sm-9">
                <input type="text" class="input-text" value="{$data.keywords ?? ''}" placeholder="" name="keywords">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">网站描述：</label>
            <div class="formControls col-xs-9 col-sm-9">
                    <textarea name="description" cols="" rows="" class="textarea" placeholder="说点什么...最少输入10个字符"
                              datatype="*5-300" dragonfly="true" nullmsg="备注不能为空！"
                              onKeyUp="$.Huitextarealength(this,200)">{$data.description ?? ''}</textarea>
                <p class="textarea-numberbar"><em class="textarea-length">0</em>/200</p>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-6 col-sm-4">底部信息设置（显示在网站前台底部）</label>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">版权信息</label>
            <div class="formControls col-xs-9 col-sm-9">
                <input type="text" class="input-text" value="{$data.copyright ?? ''}" placeholder="" id="keywords"
                       name="copyright">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">地址邮编</label>
            <div class="formControls col-xs-9 col-sm-9">
                <input type="text" class="input-text" value="{$data.footaddress ?? ''}" placeholder="" id="keywords"
                       name="footaddress">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">联系方式</label>
            <div class="formControls col-xs-9 col-sm-9">
                <input type="text" class="input-text" value="{$data.foottel ?? ''}" placeholder="" id="keywords"
                       name="foottel">
            </div>
        </div>
        <div class="row cl">
            <div class="col-xs-6 col-sm-6 col-xs-offset-4 col-sm-offset-2">
                <input name="type" value="{$data.foottel.type ?? 'SEO'}" type="hidden"/>

                <input class="btn radius btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
                <input class="btn radius btn-default radius" type="reset" value="&nbsp;&nbsp;重置&nbsp;&nbsp;">
                <!-- <button onClick="layer_close();" class="btn radius btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button> -->
            </div>
        </div>

    </form>
</article>
{/block}

